package edu.xmut.yuepai.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName user_about
 */
@TableName(value ="user_about")
@Data
public class UserAbout implements Serializable {
    /**
     * 用户id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 帖子数量
     */
    @TableField(value = "blog_num")
    private Integer blogNum;

    /**
     * 专辑数
     */
    @TableField(value = "album_num")
    private Integer albumNum;

    /**
     * 作品数量
     */
    @TableField(value = "works_num")
    private Integer worksNum;

    /**
     * 关注数
     */
    @TableField(value = "follows_num")
    private Integer followsNum;

    /**
     * 粉丝数
     */
    @TableField(value = "fans_num")
    private Integer fansNum;

    /**
     * 动态收藏数
     */
    @TableField(value = "blog_collect_num")
    private Integer blogCollectNum;

    /**
     * 专辑收藏数
     */
    @TableField(value = "album_collect_num")
    private Integer albumCollectNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}